package com.mystore.entity;

import java.io.Serializable;

public class Good implements Serializable {
    private static final long serialVersionUID = -4853923891991255049L;
    private int id;
    private String name;
    private String msg;
    private double price;
    private int gid;



    public Good(int id, String name, String msg, double price, int gid) {
        this.id = id;
        this.name = name;
        this.msg = msg;
        this.price = price;
        this.gid = gid;
    }

    public Good() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getGid() {
        return gid;
    }

    public void setGid(int gid) {
        this.gid = gid;
    }
}
